//
//  NSString+ull.m
//  TwitterPlane
//
//  Created by kazuyuki takahashi on 10/04/15.
//  Copyright 2010 by invisibledesigner.com. All rights reserved.
//

#import "NSString+ull.h"


@implementation NSString(UnsignedLongLong)

- (unsigned long long)unsignedLongLongValue
{
    unsigned long long result = strtoull([self UTF8String], NULL, 10);
    NSAssert2(errno != ERANGE, @"out of range: %@, %ulld", self, result);
    return result;
}

@end
